ElasticPress\Command D

Total Complexity 218
Dependencies 8
Dependents 0
Total lines 1,582
Lines of code 825
Logical lines of code 535
Comment lines 459
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
index_helper()
D
27
35 139
index()
D
28
32 130
put_mapping_helper()
B
38 19 68
delete_index()
A
42 13 53
stop_the_insanity()
A
46 12 38
stats()
A
47 9 34
set_search_algorithm_version()
A
54 8 21
get_indexing_status()
S
50 7 30
list_features()
S
53 7 22
status()
S
50 6 26
activate_feature()
S
53 6 21
deactivate_feature()
S
55 6 18
index_occurring()
S
61 5 12
stop_indexing()
S
58 4 14
get_search_algorithm_version()
S
62 4 12
get_indexes()
S
61 4 11
custom_get_transient()
S
56 3 20
output_index_errors()
S
56 3 17
recreate_network_alias()
S
58 3 15
create_network_alias_helper()
S
60 3 13
delete_transient()
S
64 3 11
epio_set_autosuggest()
S
65 3 8
connect_check()
S
66 3 8
reset_transient()
S
67 3 7
render_stats()
S
61 2 11
get_last_cli_index()
S
68 2 7
maybe_change_host()
S
66 2 10
maybe_change_index_prefix()
S
66 2 10
should_interrupt_sync()
S
67 2 8
delete_transient_on_int()
S
69 2 7
put_mapping()
S
66 2 9
clear_index()
S
71 1 6
get_cluster_indexes()
S
71 1 6
__construct()
S
78 1 3